package cn.wanda.bi.sunshine.platform.server.security.bean.model.bean.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

@ApiModel
public class SysAppGroup implements Serializable {
    @ApiModelProperty("")
    private Integer groupId;

    @ApiModelProperty("")
    private String groupName;

    @ApiModelProperty("")
    private String groupState;

    @ApiModelProperty("")
    private String groupImg;

    @ApiModelProperty("")
    private String groupDesc;

    @ApiModelProperty("")
    private String groupDetailDesc;

    @ApiModelProperty("")
    private Integer groupOrder;

    @ApiModelProperty("")
    private Integer createUserId;

    @ApiModelProperty("")
    private Date createTime;

    @ApiModelProperty("")
    private Integer modifyUserId;

    @ApiModelProperty("")
    private Date modifyTime;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table sys_app_group
     *
     * @mbggenerated Wed Jul 26 08:57:32 CST 2017
     */
    private static final long serialVersionUID = 1L;

    public Integer getGroupId() {
        return groupId;
    }

    public void setGroupId(Integer groupId) {
        this.groupId = groupId;
    }

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName == null ? null : groupName.trim();
    }

    public String getGroupState() {
        return groupState;
    }

    public void setGroupState(String groupState) {
        this.groupState = groupState == null ? null : groupState.trim();
    }

    public String getGroupImg() {
        return groupImg;
    }

    public void setGroupImg(String groupImg) {
        this.groupImg = groupImg == null ? null : groupImg.trim();
    }

    public String getGroupDesc() {
        return groupDesc;
    }

    public void setGroupDesc(String groupDesc) {
        this.groupDesc = groupDesc == null ? null : groupDesc.trim();
    }

    public String getGroupDetailDesc() {
        return groupDetailDesc;
    }

    public void setGroupDetailDesc(String groupDetailDesc) {
        this.groupDetailDesc = groupDetailDesc == null ? null : groupDetailDesc.trim();
    }

    public Integer getGroupOrder() {
        return groupOrder;
    }

    public void setGroupOrder(Integer groupOrder) {
        this.groupOrder = groupOrder;
    }

    public Integer getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(Integer createUserId) {
        this.createUserId = createUserId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getModifyUserId() {
        return modifyUserId;
    }

    public void setModifyUserId(Integer modifyUserId) {
        this.modifyUserId = modifyUserId;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table sys_app_group
     *
     * @mbggenerated Wed Jul 26 08:57:32 CST 2017
     */
    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        SysAppGroup other = (SysAppGroup) that;
        return (this.getGroupId() == null ? other.getGroupId() == null : this.getGroupId().equals(other.getGroupId()))
            && (this.getGroupName() == null ? other.getGroupName() == null : this.getGroupName().equals(other.getGroupName()))
            && (this.getGroupState() == null ? other.getGroupState() == null : this.getGroupState().equals(other.getGroupState()))
            && (this.getGroupImg() == null ? other.getGroupImg() == null : this.getGroupImg().equals(other.getGroupImg()))
            && (this.getGroupDesc() == null ? other.getGroupDesc() == null : this.getGroupDesc().equals(other.getGroupDesc()))
            && (this.getGroupDetailDesc() == null ? other.getGroupDetailDesc() == null : this.getGroupDetailDesc().equals(other.getGroupDetailDesc()))
            && (this.getGroupOrder() == null ? other.getGroupOrder() == null : this.getGroupOrder().equals(other.getGroupOrder()))
            && (this.getCreateUserId() == null ? other.getCreateUserId() == null : this.getCreateUserId().equals(other.getCreateUserId()))
            && (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
            && (this.getModifyUserId() == null ? other.getModifyUserId() == null : this.getModifyUserId().equals(other.getModifyUserId()))
            && (this.getModifyTime() == null ? other.getModifyTime() == null : this.getModifyTime().equals(other.getModifyTime()));
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table sys_app_group
     *
     * @mbggenerated Wed Jul 26 08:57:32 CST 2017
     */
    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getGroupId() == null) ? 0 : getGroupId().hashCode());
        result = prime * result + ((getGroupName() == null) ? 0 : getGroupName().hashCode());
        result = prime * result + ((getGroupState() == null) ? 0 : getGroupState().hashCode());
        result = prime * result + ((getGroupImg() == null) ? 0 : getGroupImg().hashCode());
        result = prime * result + ((getGroupDesc() == null) ? 0 : getGroupDesc().hashCode());
        result = prime * result + ((getGroupDetailDesc() == null) ? 0 : getGroupDetailDesc().hashCode());
        result = prime * result + ((getGroupOrder() == null) ? 0 : getGroupOrder().hashCode());
        result = prime * result + ((getCreateUserId() == null) ? 0 : getCreateUserId().hashCode());
        result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
        result = prime * result + ((getModifyUserId() == null) ? 0 : getModifyUserId().hashCode());
        result = prime * result + ((getModifyTime() == null) ? 0 : getModifyTime().hashCode());
        return result;
    }
}